﻿using System;

namespace WebAPI.Entities;

public class Tag
{
    private string id;
    private string name;
    private string describe;

    public Tag()
    {
    }

    public Tag(string id, string name, string describe)
    {
        this.id = id;
        this.name = name;
        this.describe = describe;
    }

    public string Id
    {
        get => id;
        set => id = value ?? throw new ArgumentNullException(nameof(value));
    }

    public string Name
    {
        get => name;
        set => name = value ?? throw new ArgumentNullException(nameof(value));
    }

    public string Describe
    {
        get => describe;
        set => describe = value ?? throw new ArgumentNullException(nameof(value));
    }
}